#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START sharutils
# why: ALT Linux' fakeroot build dependency

reset_mtime sharutils sharutils/configure.ac
rm -rf build/sharutils
mkdir -p build/sharutils
cd build/sharutils
../../sharutils/configure \
	${CONFIGURE_ARGS} \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/sharutils

# RECIPE END sharutils
